<?php header("Content-type:text/html;charset=utf-8"); ?>
<html>
<head>
<?php $this->import('title');?>
</head>
<body>
<p><a href="admin.php?m=accounttype&a=add">增加账户类型</a></p>
<table>
<tr><th>ID</th><th>TypeName</th><th>Status</th><th>Remark</th></tr>
<?php foreach($this->AccountType as $k=>$v):?>
<tr>
<td><?php echo $v['AID'];?>&nbsp;</td>
<td><?php echo $v['AccountTypeName']?>&nbsp;</td>
<td><?php echo $v['Status'] == 1 ? '启用' : '禁用'?>&nbsp;</td>
<td><?php echo $v['Remark']?>&nbsp;</td>
</tr>
<?php endforeach;?>

</table>
</body>
</html>